iT邦幫忙

0

apt-get install error E: Sub-process /usr/bin/dpkg returned an error code (1)

  • 分享至 

  • xImage
  •  

Environmnent: Ubuntu 18.04.1 , 5.4.0-80-generic
when you want to installl some packages
it shows some error in your screen

E: Sub-process /usr/bin/dpkg returned an error code (1)

How to solve this problem ?

cd /var/lib/dpkg/
sudo mv info/ info_bak # rename info dir 
sudo mkdir info # 
sudo apt-get update # update 
sudo apt-get -f install # fix
sudo mv info/* info_bak/ 
sudo rm -rf info 
sudo mv info_bak info 

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言